package greentycoon.ville;

import greentycoon.batiment.Batiment;
import greentycoon.gui.ConteneurListener;

public class Conteneur {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Batiment bat;
	private int i,j;
	private Ville ville;
	
	Conteneur(Batiment bat, int i, int j, Ville ville) {
		this.bat = bat;
		this.i = i;
		this.j = j;
		this.ville = ville;
	}

	public Batiment getBat() {
		return bat;
	}

	public void setBat(Batiment eo) {
		this.bat = eo;
		ville.fireConteneurListener(i,j);
	}

	
	

}
